package com.example.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: ft
 * @Date:2025/8/20
 * @Description: 相关单据：
 */
@Data
@Component
@ConfigurationProperties() //配置批量绑定，不再需要@RefreshScope注解就能自动刷新
public class OrderProperties {

    private String timeout; //订单超时时间

    private String autoMation; //订单自动化处理开关

    private String url;
}